﻿using System;
using System.Collections;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            SortedList sl = new SortedList();
            sl.Add(1, "Mon");
            sl.Add(2, "Tue");
            sl.Add(3, "Wed");
            sl.Add(4, "Thu");
            sl.Add(5, "Fri");

            ICollection key = sl.Keys;

            foreach(int i in key)
            {
                Console.WriteLine(i+":"+sl[i]);
            }
        }
    }
}
